package top.toptimus.dto.material.materialMaintain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 销售创建面料，用于初次下单
 *
 * @author gaoyu
 */
@NoArgsConstructor
@Data
@AllArgsConstructor
public class SaleCreateFabricIndexDTO {
    /*
        物料基础信息
     */
    private String materialCode;    //  物料编码
    private String materialDesc;  //  物料描述
    private Integer materialId; //  物料数据库ID
    private String vendorName;  //  供应商
    private String materialImagePath; //  物料图片路径

    public SaleCreateFabricIndexDTO(
            String materialCode,
            String materialDesc,
            Integer materialId
    ) {
        this.materialCode = materialCode;
        this.materialDesc = materialDesc;
        this.materialId = materialId;
    }
}
